FILES=readme.txt "..\_temp\installer\wallpaper-switcher-setup.exe"

all: "$(OUTDIR)\wallpaper-switcher-setup.zip"

"$(OUTDIR)\wallpaper-switcher-setup.zip" : $(FILES)
	@7z a -tzip -mx9 -r- "$(OUTDIR)\wallpaper-switcher-setup.zip" $(FILES)

"..\_temp\installer\wallpaper-switcher-setup.exe" : setup.iss "$(BINDIR)\WallpaperSwitcher.exe"
	@rem upx "$(BINDIR)\WallpaperSwitcher.exe"
	@"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" setup.iss
